package com.hoshiicloud.marketmanagement.feign.hystrix;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.market.param.activities.ActivitiesAddParam;
import com.hoshiicloud.marketmanagement.feign.MarketService;
import javax.validation.Valid;

/**
 * Market熔断处理
 *
 * @author MarkerCCC
 * @date 2019-09-17 - 15:30
 */
public class HystrixMarketFeignFallback implements MarketService {

    @Override
    public Response save(@Valid ActivitiesAddParam param) {
        return Response.failed("保存活动信息失败");
    }
}
